package org.deng.learn.designpattern.builder;

/**
 * @author DengLibin
 * @Description
 * @Date 2019/2/12 0012 16:58
 */
public class AHouseBuilder implements IHouseBuilder {
    private House house;
    public  AHouseBuilder(){
        house = new House();
    }
    @Override
    public void diji() {
        house.setDiji("A类型房子，地基完成");
    }

    @Override
    public void puZhuan() {
        house.setPuZhuan("A类型房子，铺砖完成");
    }

    @Override
    public void puDianXian() {
        house.setPuDianXian("A类型房子，铺电线完成");
    }

    @Override
    public void zhuangXiu() {
        house.setZhuangXiu("A类型房子，装修完成");
    }

    @Override
    public House buildHose() {

        return house;
    }

}
